package com.yj.rselasticsearch.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yj.common.core.domain.entity.FileType;
import com.yj.rselasticsearch.mapper.FileTypeMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.yj.rselasticsearch.mapper.FileUploadLogMapper;
import com.yj.common.core.domain.entity.FileUploadLog;
import com.yj.rselasticsearch.service.FileUploadLogService;
@Service
public class FileUploadLogServiceImpl  extends ServiceImpl<FileUploadLogMapper, FileUploadLog> implements FileUploadLogService{

    @Resource
    private FileUploadLogMapper fileUploadLogMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return fileUploadLogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FileUploadLog record) {
        return fileUploadLogMapper.insert(record);
    }

    @Override
    public int insertSelective(FileUploadLog record) {
        return fileUploadLogMapper.insertSelective(record);
    }

    @Override
    public FileUploadLog selectByPrimaryKey(Integer id) {
        return fileUploadLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FileUploadLog record) {
        return fileUploadLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FileUploadLog record) {
        return fileUploadLogMapper.updateByPrimaryKey(record);
    }

}
